package com.atm.thirdplt.service;

import com.atm.thirdplt.common.core.domain.AjaxResult;
import com.atm.thirdplt.common.core.domain.ca.CaUploadPdfParm;
import com.atm.thirdplt.common.core.domain.his.AtmHisConfig;
import com.atm.thirdplt.common.core.domain.his.TestWriteHis;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;
import java.util.prefs.BackingStoreException;

/**
 * CA自动签名 服务接口
 *
 * @author：l
 * @date：2023/02/17
 */
public interface AtmCaService {

    /**
     * 获取签名图片
     *
     * @return
     */
    AjaxResult queryCaUserImg(String caUserId);

    /**
     * 添加签名任务-扫码类型
     *
     * @param parmMap 参数
     * @return
     */
    AjaxResult addCaSign(Map<String,String> parmMap);

    /**
     * 开启自动签-扫码
     *
     * @return
     */
     AjaxResult startAutoSign();

    /**
     * 获取签名结果
     *
     * @return
     */
     AjaxResult getSignResult(String signDataId);

    /**
     * 上传PDF
     *
     * @param pdfParm 参数
     * @return
     */
     AjaxResult uploadCaPdf(CaUploadPdfParm pdfParm);

    /**
     *  撤销PDF
     *
     * @param pdfParmList 参数
     * @return
     */
     AjaxResult removeCaPdf(List<CaUploadPdfParm> pdfParmList);

}